wayland: Do not require latest wl_seat
authorPier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Wed, 11 Feb 2015 06:46:00 +0000 (06:46 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 14 Feb 2015 00:05:32 +0000 (19:05 -0500)
commit6ae521bb325493d32fa2e3be341886163b0d7df9
tree5127921c226afebda469c703bef1c9f14c4f8201
parentf3110e4103207e31d932f9bcdd5ca295e17f41de
wayland: Do not require latest wl_seat

Some compositors might not offer wl_seat 4 resulting in GTK+ clients not
working on that compositor.

wl_seat 4 introduces keyboard repeat information, but when that information
is missing it is retrieved from settings, hence there's no reason to
require wl_seat 4.

This patch was tested against QtCompositor (5.5, dev branch)
and Weston 1.6.1.

Reviewed-by: Daniel Stone <daniels@collabora.com>
https://bugzilla.gnome.org/show_bug.cgi?id=744172
gdk/wayland/gdkdisplay-wayland.c